//---------------------------------------------------------------------------

#ifndef t_eventwaitformH
#define t_eventwaitformH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.ComCtrls.hpp>
#include <Vcl.Grids.hpp>
//---------------------------------------------------------------------------
class TEventWaitForm : public TForm
{
__published:	// IDE-managed Components
   TButton *ButtonOk;
   TButton *ButtonCancel;
   TPageControl *PageControl1;
   TTabSheet *TabSheet1;
   TLabel *Label3;
   TLabel *Label1;
   TLabel *Label2;
   TLabel *Label4;
   TLabel *Label5;
   TLabel *Label9;
   TLabel *Label8;
   TLabel *Label6;
   TLabel *Label7;
   TLabel *Label11;
   TLabel *Label12;
   TLabel *Label13;
   TEdit *EditEvent;
   TEdit *EditWaitForFile;
   TMemo *MemoDescription;
   TComboBox *ComboBoxSpecialDate;
   TCheckBox *CheckBoxCondNot;
   TEdit *EditConditionFile;
   TCheckBox *CheckBoxWaitForOperator;
   TEdit *EditJobTrigger;
   TEdit *EditName;
   TEdit *EditWaitForTime;
   TEdit *EditWaitForCommand;
   TEdit *EditPriority;
   TEdit *EditAutoRerun;
   TEdit *EditTag;
   TTabSheet *TabSheet2;
   TLabel *Label17;
   TLabel *Label19;
   TStringGrid *GridExternJob;
   TEdit *EditExternGroup;
   TEdit *EditExternJob;
   TButton *ButtonAdd2;
   TButton *ButtonRemove2;
   TButton *ButtonClear2;
   void __fastcall ButtonOkClick(TObject *Sender);
   void __fastcall ButtonCancelClick(TObject *Sender);
   void __fastcall ButtonAdd2Click(TObject *Sender);
   void __fastcall ButtonRemove2Click(TObject *Sender);
   void __fastcall ButtonClear2Click(TObject *Sender);
private:	// User declarations
   void __fastcall GridExternJobAssign();
   bool OkFlag;
   HStageEventWait *FStage;
   HStageEventWait::HInfo Info;
   set<UTF8String> ExternJobSet;
public:		// User declarations
   __fastcall TEventWaitForm(TComponent* Owner);
   bool __fastcall Edit(HStageEventWait *Stage);
};
//---------------------------------------------------------------------------
extern PACKAGE TEventWaitForm *EventWaitForm;
//---------------------------------------------------------------------------
#endif
